class mp_msg
{
public:
DWORD type;
DWORD from;
char data[500];
};
Member | Type | Description |
---|---|---|
type | DWORD | message type |
from | DWORD | directplay player id of the message sender |
data | char[] | the message data (up to 500 bytes) |
None
This class implements a multiplayer message. All messages must begin with type and from fields. The data field can be of any size up to 500 bytes.